const { MongooseHelper, BaseSchema } = require('../mongoose/mongooseHelper');
const { Schema } = require('mongoose');

// 定义 User 模型的 schema
const blogList = new Schema({
  content: String,
  userName: Number,
  // 其他字段...
});

// 继承基础 Schema
blogList.add(BaseSchema);
// 创建 User 模型的 CRUD 方法
const BlogList = new MongooseHelper('blogList', blogList);

module.exports = BlogList;